<!--
 *************************************************************************
 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at http://www.openbravo.com/legal/license.html 
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License. 
 * The Original Code is Openbravo ERP. 
 * The Initial Developer of the Original Code is Openbravo SL 
 * All portions are Copyright (C) 2001-2007 Openbravo SL 
 * All Rights Reserved. 
 * Contributor(s):  ______________________________________.
 ************************************************************************
-->

<html>
<head>
  <title>Business Partner list</title>

  <link rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico"></link>
  <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></link>
  <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
  <script language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</script>
  <script language="JavaScript" type="text/javascript" id="paramLanguage">  LNG_POR_DEFECTO = "en_US";</script>
  <script type="text/javascript">
    dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
  </script>
  <script language="JavaScript" type="text/javascript">
    var selectedRow = "";
    function selectActual(obj) {
      if (selectedRow != "") {
        selectedRow.className = selectedRow.className.replace(' DataGrid_Body_Row_selected', '');
      }
      selectedRow = obj;
      selectedRow.className += " DataGrid_Body_Row_selected";
    }

    function checkActual(obj) {
      selectedCheck = selectedRow.id.toString().replace('funcEvenOddRow', 'CheckNum');
      document.getElementById(selectedCheck).checked = !document.getElementById(selectedCheck).checked;
    }

    function HoverCell(cell) {
      cell.className = cell.className + ' DataGrid_Body_Cell_hover';
    }

    function unHoverCell(cell) {
      cell.className = cell.className.replace(' DataGrid_Body_Cell_hover', '');
    }
  </script>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="resizeArea();focoPrimerControl();window.focus();" onresize="resizeArea();">
<form name="frmSelector" method="POST" action="">
<INPUT type="hidden" name="IsPopUpCall" value="1">
  <table height="100%" border="0" cellpadding="0" cellspacing="0" id="main">
    <tr>
      <td valign="top" class="Popup_Client_Selector_DataGrid_LeftMargin">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" id="tdleftSeparator">
          <tr><td class="Popup_Client_Selector_DataGrid_LeftMargin"></td></tr>
        </table>
      </td>
      <td valign="top">

        <div style="overflow: auto; display: none;" id="client">

          <table cellspacing="0" cellpadding="0" width="100%" class="DataGrid_Header_Table DataGrid_Body_Table" style="table-layout: auto;">
            <tr class="DataGrid_Body_Row"> 
              <th width="4%"  class="DataGrid_Header_LineNoCell DataGrid_Body_Cell_CheckBox">
                <input class="DataGrid_CheckBox" type="checkbox" name="inpTodos" value="Y" onclick="marcarTodos(document.frmSelector.inpClave, this.checked);return true;"></input>
              </th>
              <th width="10%" class="DataGrid_Header_Cell">Key</th>
              <th width="19%" class="DataGrid_Header_Cell">Name</th>
              <th width="8%"  class="DataGrid_Header_Cell">Disp. Credit</th>
              <th width="9%"  class="DataGrid_Header_Cell">Credit used</th>
              <th width="17%" class="DataGrid_Header_Cell">Sales represent</th>
              <th width="13%" class="DataGrid_Header_Cell">URL</th>
              <th width="14%" class="DataGrid_Header_Cell">Email</th>
              <th width="7%"  class="DataGrid_Header_Cell">Income</th>
            </tr>

            <div id="sectionDetail"> 
              <tr class="DataGrid_Body_Row DataGrid_Body_Row_yy" onclick="selectActual(this); return true;" ondblclick="checkActual(this); return true;" id="funcEvenOddRowxx">
                <td class="DataGrid_Body_LineNoCell DataGrid_Body_Cell_CheckBox">
                  <input name="inpClave" type="checkbox" id="CheckNumxx" value="xx">
                  <INPUT name="inpTextxx" type="hidden" id="fieldText" value="xx">
                </td>
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldClaveTD">xx</td>
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldNombreTD">xx</td>
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldCreditoDispTD">xx</td>
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldCreditoUsadoTD">xx</td>
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldContactoTD">xx</td>
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldURLTD">xx</td>
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldEMAILTD">xx</td>
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldIngresosTD">xx</td>
              </tr>
            </div>
          </table>

          <table cellspacing="0" cellpadding="0" width="100%" style="text-align:-moz-center;_text-align:center;border-collapse:collapse;">

            <td align=left width=50% style="padding-left: 7px;">

              <table cellspacing="0" cellpadding="0" id="hasPrevious">
                <td class="Main_ToolBar_textlabel_bg_left">
                  <a href="#" onClick="return false;" class="Main_ToolBar_Button" onMouseOver="window.status='Reference';return true;" onMouseOut="window.status='';return true;" onclick="this.hideFocus=true" onblur="this.hideFocus=false" id="linkButtonRelatedInfo"><img class="Main_ToolBar_Button_Icon Main_ToolBar_Button_Icon_Previous" src="../../../../../web/images/blank.gif" title="Reference" border="0" id="buttonRelatedInfo"></a>
                </td>
                <td class="Main_ToolBar_textlabel_bg_body" width=65px align="center"><a href="#" class="Main_ToolBar_text_relatedinfo">Previous</a></td>
                <td width="1"><img src="../../../../../web/images/blank.gif" class="Main_ToolBar_textlabel_bg_right" border="0"></img></td>
              </table>

              <span id="withoutPrevious"></span>

            </td>

            <td align=right width=50% style="padding-right: 7px;">

              <table cellspacing="0" cellpadding="0" id="hasNext">
                <td width="1"><img src="../../../../../web/images/blank.gif" class="Main_ToolBar_textlabel_bg_left" border="0"></img></td>
                <td class="Main_ToolBar_textlabel_bg_body" width=65px align=center><a href="#" class="Main_ToolBar_text_relatedinfo">Next</a></td>
                <td class="Main_ToolBar_textlabel_bg_right">
                  <a href="#" onClick="return false;" class="Main_ToolBar_Button" onMouseOver="window.status='Reference';return true;" onMouseOut="window.status='';return true;" onclick="this.hideFocus=true" onblur="this.hideFocus=false" id="linkButtonRelatedInfo"><img class="Main_ToolBar_Button_Icon Main_ToolBar_Button_Icon_Next" src="../../../../../web/images/blank.gif" title="Reference" border="0" id="buttonRelatedInfo"></a>
                </td>
              </table>

              <span id="withoutNext"></span>

            </td>

          </table>

        </div>

      </td>

      <td valign="top" class="Popup_Client_Selector_DataGrid_RightMargin">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" id="tdrightSeparator">
          <tr><td class="Popup_Client_Selector_DataGrid_RightMargin"></td></tr>
        </table>
      </td>
    </tr>
  </table>

</form>
</body>
</html>
